#pragma once

#include "FiringEvent.h"
#include "GroupLink.h"

namespace SpikingNeuronLib
{
	// A type to hold the data related to a found PNG
	public ref class PNGData
	{
	protected:
		int _numberOfLinks;
		array<int>^ _neurons;
		array<int>^ _firingTimes;
		array<int, 2>^ _groupLinks;

	public:
		PNGData(int numberOfLinks, array<int>^ neurons, array<int>^ firingTimes, array<int, 2>^ groupLinks);

		// Call the following methods only from within a FoundPNGEventHandler
		array<FiringEvent>^ GetPNGEvents(int numberOfEvents);	// get the firing events in the group
		array<GroupLink>^ GetPNGLinks();						// get the links between events for the group
	};
}
